package com.gopay.common.domain.autosettle.vo;

import com.google.common.base.Objects;

import java.math.BigDecimal;

/**
 * 网银明细查询
 * Created by Chenyu Li on 2017/08/10.
 */
public class AsBankOrderDtlVO {
    /**
     * 主键
     */
    private String id;
    /**
     * 查询时间
     */
    private String fileCreatedDateStart;
    private String fileCreatedDateEnd;
    private String fileSolvedDateStart;
    private String fileSolvedDateEnd;
    private String bankTransTimeStart;
    private String bankTransTimeEnd;
    /**
     * 国付宝订单号
     */
    private String gopayOrderId;
    /**
     * 银行流水号
     */
    private String bankOrderId;
    /**
     * 银行渠道
     */
    private String bankChannel;
    /**
     * 银行金额
     */
    private BigDecimal bankOrderAmt;
    /**
     * 银行交易时间
     */
    private String bankTransTime;
    /**
     * 对方账户名
     */
    private String recvAcctName;
    /**
     * 对方账号
     */
    private String recvAcct;
    /**
     * 所属对账文件的id（关联对账文件管理表）
     */
    private String checkOrderFileId;
    /**
     * 网银明细状态01成功02退回明细
     */
    private String bankOrderStatus;
    /**
     * 对账状态 （00-待对账，10-对平，20-存疑，30-差异，40-待更新状态，99-已人工处理）
     */
    private String checkOrderStatus;
    /**
     * 对账状态细分 （21-存疑短款，22-存疑长款，31-差异短款，32-差异长款，33-金额差异，41-成功明细，42-退回明细，43-无网银明细）
     */
    private String checkOrderStatusDtl;
    /**
     * 对账完成时间
     */
    private String checkOredrFinishTime;
    /**
     * 备注
     */
    private String remark;
    /**
     * 最后修改时间
     */
    private String lastUpdTs;
    /**
     * 最后修改人id
     */
    private String lastUpdOperId;
    /**
     * 乐观锁版本号
     */
    private Integer version;

    private String createdTs;

    public String getBankTransTimeStart() {
        return bankTransTimeStart;
    }

    public void setBankTransTimeStart(String bankTransTimeStart) {
        this.bankTransTimeStart = bankTransTimeStart;
    }

    public String getBankTransTimeEnd() {
        return bankTransTimeEnd;
    }

    public void setBankTransTimeEnd(String bankTransTimeEnd) {
        this.bankTransTimeEnd = bankTransTimeEnd;
    }

    public String getCreatedTs() {
        return createdTs;
    }

    public void setCreatedTs(String createdTs) {
        this.createdTs = createdTs;
    }

    public String getFileCreatedDateStart() {
        return fileCreatedDateStart;
    }

    public void setFileCreatedDateStart(String fileCreatedDateStart) {
        this.fileCreatedDateStart = fileCreatedDateStart;
    }

    public String getFileCreatedDateEnd() {
        return fileCreatedDateEnd;
    }

    public void setFileCreatedDateEnd(String fileCreatedDateEnd) {
        this.fileCreatedDateEnd = fileCreatedDateEnd;
    }

    public String getFileSolvedDateStart() {
        return fileSolvedDateStart;
    }

    public void setFileSolvedDateStart(String fileSolvedDateStart) {
        this.fileSolvedDateStart = fileSolvedDateStart;
    }

    public String getFileSolvedDateEnd() {
        return fileSolvedDateEnd;
    }

    public void setFileSolvedDateEnd(String fileSolvedDateEnd) {
        this.fileSolvedDateEnd = fileSolvedDateEnd;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getGopayOrderId() {
        return gopayOrderId;
    }

    public void setGopayOrderId(String gopayOrderId) {
        this.gopayOrderId = gopayOrderId;
    }

    public String getBankOrderId() {
        return bankOrderId;
    }

    public void setBankOrderId(String bankOrderId) {
        this.bankOrderId = bankOrderId;
    }

    public String getBankChannel() {
        return bankChannel;
    }

    public void setBankChannel(String bankChannel) {
        this.bankChannel = bankChannel;
    }

    public BigDecimal getBankOrderAmt() {
        return bankOrderAmt;
    }

    public void setBankOrderAmt(BigDecimal bankOrderAmt) {
        this.bankOrderAmt = bankOrderAmt;
    }

    public String getBankTransTime() {
        return bankTransTime;
    }

    public void setBankTransTime(String bankTransTime) {
        this.bankTransTime = bankTransTime;
    }

    public String getRecvAcctName() {
        return recvAcctName;
    }

    public void setRecvAcctName(String recvAcctName) {
        this.recvAcctName = recvAcctName;
    }

    public String getRecvAcct() {
        return recvAcct;
    }

    public void setRecvAcct(String recvAcct) {
        this.recvAcct = recvAcct;
    }

    public String getCheckOrderFileId() {
        return checkOrderFileId;
    }

    public void setCheckOrderFileId(String checkOrderFileId) {
        this.checkOrderFileId = checkOrderFileId;
    }

    public String getBankOrderStatus() {
        return bankOrderStatus;
    }

    public void setBankOrderStatus(String bankOrderStatus) {
        this.bankOrderStatus = bankOrderStatus;
    }

    public String getCheckOrderStatus() {
        return checkOrderStatus;
    }

    public void setCheckOrderStatus(String checkOrderStatus) {
        this.checkOrderStatus = checkOrderStatus;
    }

    public String getCheckOrderStatusDtl() {
        return checkOrderStatusDtl;
    }

    public void setCheckOrderStatusDtl(String checkOrderStatusDtl) {
        this.checkOrderStatusDtl = checkOrderStatusDtl;
    }

    public String getCheckOredrFinishTime() {
        return checkOredrFinishTime;
    }

    public void setCheckOredrFinishTime(String checkOredrFinishTime) {
        this.checkOredrFinishTime = checkOredrFinishTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getLastUpdTs() {
        return lastUpdTs;
    }

    public void setLastUpdTs(String lastUpdTs) {
        this.lastUpdTs = lastUpdTs;
    }

    public String getLastUpdOperId() {
        return lastUpdOperId;
    }

    public void setLastUpdOperId(String lastUpdOperId) {
        this.lastUpdOperId = lastUpdOperId;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }


    @Override
    public String toString() {
        return Objects.toStringHelper(this)
                .add("id", id)
                .add("gopayOrderId", gopayOrderId)
                .add("bankOrderId", bankOrderId)
                .add("bankChannel", bankChannel)
                .add("bankOrderAmt", bankOrderAmt)
                .add("bankTransTime", bankTransTime)
                .add("checkOrderFileId", checkOrderFileId)
                .add("bankOrderStatus", bankOrderStatus)
                .add("checkOrderStatus", checkOrderStatus)
                .add("checkOrderStatusDtl", checkOrderStatusDtl)
                .add("checkOredrFinishTime", checkOredrFinishTime)
                .add("remark", remark)
                .toString();
    }
}